package services;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Component
@Service("aopServices")
public class AopServicesImpl implements AopServices{
    public void print(String string){
        System.out.println("string:"+string);
        System.out.println("11111111111");
        try {
            throw  new Exception();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
